package com.sm.model;

import java.io.Serializable;

/**
 * 学生实体类
 * 
 * @author 贾志新
 * @date 2015-7-15
 */
public class Student implements Serializable {

	private static final long serialVersionUID = -231242872714404132L;

	private long sid;
	private String name;
	private long age;
	private String sex;
	private String sdept;
	private String stel;
	private String sAddress;
	
	public Student(String name, long age, String sex, String sdept, String stel,String sAddress) {
		super();
		this.name = name;
		this.age = age;
		this.sex = sex;
		this.sdept = sdept;
		this.stel = stel;
		this.sAddress = sAddress;
	}
	
	public Student(long sid,String name, long age, String sex, String sdept, String stel,String sAddress) {
		super();
		this.sid = sid;
		this.name = name;
		this.age = age;
		this.sex = sex;
		this.sdept = sdept;
		this.stel = stel;
		this.sAddress = sAddress;
	}
	
	public Student() {
		// TODO Auto-generated constructor stub
	}

	public long getSid() {
		return sid;
	}

	public void setSid(long sid) {
		this.sid = sid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public long getAge() {
		return age;
	}

	public void setAge(long age) {
		this.age = age;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getSdept() {
		return sdept;
	}

	public void setSdept(String sdept) {
		this.sdept = sdept;
	}

	public String getStel() {
		return stel;
	}

	public void setStel(String stel) {
		this.stel = stel;
	}

	public String getsAddress() {
		return sAddress;
	}
	public void setsAddress(String sAddress) {
		this.sAddress = sAddress;
	}
}
